Skip to content

Use slow-api middleware for rate limiting#225

Merged
shiv-tyagi merged 4 commits intoArduPilot:mainfrom
shiv-tyagi:slow-api
Mar 3, 2026
Merged

Use slow-api middleware for rate limiting#225
shiv-tyagi merged 4 commits intoArduPilot:mainfrom
shiv-tyagi:slow-api

Conversation

@shiv-tyagi
Copy link
Member

@shiv-tyagi shiv-tyagi commented Feb 9, 2026

Swaps out our simple rate limiter for slowapi middleware to align with our recent FastAPI migration. The previous implementation was rigid and limited to build entries, while this switch enables granular, per-route control and cleaner configuration. This removes the legacy hacky logic and standardizes request limiting across the application.

This is running on custom-beta.ardupilot.org and looking good.

Copy link
Contributor

@peterbarker peterbarker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@shiv-tyagi shiv-tyagi merged commit 096170e into ArduPilot:main Mar 3, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants